﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media;
using System.Windows.Controls;

namespace TableTop.Presentation.Controls
{
    [TemplatePart(Name = ContentPart, Type = typeof(ContentPresenter))]
    public class GlassContainer
        : ContentControl
    {        
        private const string ContentPart = "cpContent";

        public GlassContainer()
        {
            this.Background = new SolidColorBrush(new Color() { R = 0x7F });
            this.DefaultStyleKey = typeof(GlassContainer);            
        }

        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();
        }
    }
}
